﻿using DapperExtensions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ET_DbCommon.Model
{
    [Table("paper")]
    public partial class PaperModel : Entity
    {
        /// <summary>
        /// 试卷描述
        /// </summary>
        public string Describes { get; set; }

        /// <summary>
        /// 关联的试题的索引集合;如果有多个试题。英文逗号隔开
        /// </summary>
        public string TesquestiontList { get; set; }

        /// <summary>
        /// 总分数
        /// </summary>
        public decimal TotalScore { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime UpdateTime { get; set; }

        /// <summary>
        /// 试卷等级
        /// </summary>
        public string Level { get; set; }

        /// <summary>
        /// 场景列表
        /// </summary>
        [Computed]
        public List<Paper_TestQuestionModel> TestQuestions { get; set; } = new List<Paper_TestQuestionModel>();
    }
}
